/*global GIGO jQuery */
/*jslint browser: true */


// Based on these variablse : status_a  status_aaaa  status_ds4  status_ds6
// which have values of  ok, slow, bad, timeout  (o,s,b,t)
// what is the primary diagnosis of the person's connectivity?
// Implemented as a table instead of a giant if/else  (which was not terribly maintainable)
// confused:NOASK should ask the user to fill out the form; it will replace ASK with the initials
// of the status that was used to consult this table.  From there a human can better
// attempt to classify that user's experience.

GIGO.sym_primary = {
    "bbbb": "webfilter:blocked",
    "bbbo": "webfilter:blocked",
    "bbbs": "webfilter:blocked",
    "bbbt": "webfilter:blocked",
    "bbob": "webfilter:blocked",
    "bboo": "webfilter:blocked",
    "bbos": "webfilter:blocked",
    "bbot": "webfilter:blocked",
    "bbsb": "webfilter:blocked",
    "bbso": "webfilter:blocked",
    "bbss": "webfilter:blocked",
    "bbst": "webfilter:blocked",
    "bbtb": "webfilter:blocked",
    "bbto": "webfilter:blocked",
    "bbts": "webfilter:blocked",
    "bbtt": "webfilter:blocked",
    "bobb": "confused:NOASK",
    "bobo": "ipv6_only",
    "bobs": "ipv6_only",
    "bobt": "confused:NOASK",
    "boob": "confused:NOASK",
    "booo": "ipv6_only,webfilter:addons",
    "boos": "webfilter:dsboth",
    "boot": "confused:NOASK",
    "bosb": "confused:NOASK",
    "boso": "webfilter:dsboth",
    "boss": "ipv6_only,webfilter:addons",
    "bost": "confused:NOASK",
    "botb": "confused:NOASK",
    "boto": "confused:NOASK",
    "bots": "confused:NOASK",
    "bott": "confused:NOASK",
    "bsbb": "confused:NOASK",
    "bsbo": "ipv6_only",
    "bsbs": "ipv6_only",
    "bsbt": "confused:NOASK",
    "bsob": "confused:NOASK",
    "bsoo": "ipv6_only,ipv6_slow,webfilter:addons",
    "bsos": "webfilter:dsboth",
    "bsot": "confused:NOASK",
    "bssb": "confused:NOASK",
    "bsso": "webfilter:dsboth",
    "bsss": "ipv6_only,ipv6_slow,webfilter:addons",
    "bsst": "confused:NOASK",
    "bstb": "confused:NOASK",
    "bsto": "confused:NOASK",
    "bsts": "confused:NOASK",
    "bstt": "confused:NOASK",
    "btbb": "webfilter:blocked",
    "btbo": "webfilter:blocked",
    "btbs": "webfilter:blocked",
    "btbt": "webfilter:blocked",
    "btob": "webfilter:blocked",
    "btoo": "webfilter:blocked",
    "btos": "webfilter:blocked",
    "btot": "webfilter:blocked",
    "btsb": "webfilter:blocked",
    "btso": "webfilter:blocked",
    "btss": "webfilter:blocked",
    "btst": "webfilter:blocked",
    "bttb": "webfilter:blocked",
    "btto": "webfilter:blocked",
    "btts": "webfilter:blocked",
    "bttt": "webfilter:blocked",
    "obbb": "broken",
    "obbo": "confused:obbo",
    "obbs": "confused:obbs",
    "obbt": "confused:NOASK",
    "obob": "ipv4_only",
    "oboo": "ipv4_only,webfilter:addons",
    "obos": "webfilter:dsboth",
    "obot": "confused:NOASK",
    "obsb": "ipv4_only:ds_slow",
    "obso": "webfilter:dsboth",
    "obss": "ipv4_only,webfilter:addons",
    "obst": "confused:NOASK",
    "obtb": "ipv4_only:ds_timeout",
    "obto": "confused:NOASK",
    "obts": "confused:NOASK",
    "obtt": "broken",
    "oobb": "confused:NOASK",
    "oobo": "dualstack:ipv6_preferred",
    "oobs": "confused:NOASK",
    "oobt": "confused:NOASK",
    "ooob": "dualstack:ipv4_preferred",
    "oooo": "dualstack:safe,webfilter:addons",
    "ooos": "webfilter:dsboth",
    "ooot": "dualstack:ipv4_preferred",
    "oosb": "dualstack:slow",
    "ooso": "webfilter:dsboth",
    "ooss": "dualstack:safe,webfilter:addons",
    "oost": "confused:NOASK",
    "ootb": "confused:NOASK",
    "ooto": "dualstack:ipv6_preferred",
    "oots": "confused:NOASK",
    "oott": "confused:NOASK",
    "osbb": "confused:NOASK",
    "osbo": "confused:NOASK",
    "osbs": "confused:NOASK",
    "osbt": "confused:NOASK",
    "osob": "dualstack:ipv4_preferred,ipv6_slow",
    "osoo": "dualstack:ipv4_prefered,webfilter:addons",
    "osos": "webfilter:dsboth",
    "osot": "confused:NOASK",
    "ossb": "dualstack:ipv4_preferred,ipv6_slow",
    "osso": "webfilter:dsboth",
    "osss": "dualstack:ipv4_prefered,webfilter:addons",
    "osst": "confused:NOASK",
    "ostb": "confused:NOASK",
    "osto": "confused:NOASK",
    "osts": "confused:NOASK",
    "ostt": "confused:NOASK",
    "otbb": "broken",
    "otbo": "confused:NOASK",
    "otbs": "confused:NOASK",
    "otbt": "broken",
    "otob": "ipv4_only:ds_good,ipv6_timeout",
    "otoo": "ipv4_only,webfilter:addons",
    "otos": "webfilter:dsboth",
    "otot": "confused:NOASK",
    "otsb": "ipv4_only:ds_slow,ipv6_timeout",
    "otso": "webfilter:dsboth",
    "otss": "ipv4_only,webfilter:addons",
    "otst": "confused:NOASK",
    "ottb": "broken",
    "otto": "confused:NOASK",
    "otts": "confused:NOASK",
    "ottt": "broken", // symptoms.js will overrule this
    "sbbb": "confused:NOASK",
    "sbbo": "confused:NOASK",
    "sbbs": "confused:NOASK",
    "sbbt": "confused:NOASK",
    "sbob": "ipv4_only,ipv4_slow",
    "sboo": "ipv4_only,webfilter:addons",
    "sbos": "webfilter:dsboth",
    "sbot": "confused:NOASK",
    "sbsb": "ipv4_only,ipv4_slow",
    "sbso": "webfilter:dsboth",
    "sbss": "ipv4_only,webfilter:addons",
    "sbst": "confused:NOASK",
    "sbtb": "confused:NOASK",
    "sbto": "confused:NOASK",
    "sbts": "confused:NOASK",
    "sbtt": "confused:NOASK",
    "sobb": "dualstack:ipv4_preferred,ipv4_slow",
    "sobo": "confused:NOASK",
    "sobs": "confused:NOASK",
    "sobt": "confused:NOASK",
    "soob": "dualstack:ipv4_preferred,ipv4_slow",
    "sooo": "dualstack_ipv6_preferred,ipv4_slow,webfilter:addons",
    "soos": "webfilter:dsboth",
    "soot": "confused:NOASK",
    "sosb": "dualstack:ipv4_preferred,ipv4_slow",
    "soso": "webfilter:dsboth",
    "soss": "dualstack_ipv6_preferred,ipv4_slow,webfilter:addons",
    "sost": "confused:NOASK",
    "sotb": "confused:NOASK",
    "soto": "confused:NOASK",
    "sots": "confused:NOASK",
    "sott": "confused:NOASK",
    "ssbb": "confused:NOASK",
    "ssbo": "confused:NOASK",
    "ssbs": "confused:NOASK",
    "ssbt": "confused:NOASK",
    "ssob": "confused:NOASK",
    "ssoo": "dualstack,ipv4_slow,ipv6_slow,webfilter:addons",
    "ssos": "webfilter:dsboth",
    "ssot": "confused:NOASK",
    "sssb": "dualstack:ipv4_preferred,ipv4_slow,ipv6_slow",
    "ssso": "webfilter:dsboth",
    "ssss": "dualstack,ipv4_slow,ipv6_slow,webfilter:addons",
    "ssst": "confused:NOASK",
    "sstb": "confused:NOASK",
    "ssto": "confused:NOASK",
    "ssts": "confused:NOASK",
    "sstt": "confused:NOASK",
    "stbb": "confused:NOASK",
    "stbo": "confused:NOASK",
    "stbs": "confused:NOASK",
    "stbt": "confused:NOASK",
    "stob": "ipv4_only:ds_good,ipv6_timeout",
    "stoo": "ipv4_only:ds_good,webfilter:addons",
    "stos": "webfilter:dsboth",
    "stot": "confused:NOASK",
    "stsb": "ipv4_only:ds_slow,ipv6_timeout",
    "stso": "webfilter:dsboth",
    "stss": "ipv4_only:ds_good,webfilter:addons",
    "stst": "confused:NOASK",
    "sttb": "confused:NOASK",
    "stto": "confused:NOASK",
    "stts": "confused:NOASK",
    "sttt": "confused:NOASK",
    "tbbb": "webfilter:blocked",
    "tbbo": "webfilter:blocked",
    "tbbs": "webfilter:blocked",
    "tbbt": "webfilter:blocked",
    "tbob": "webfilter:blocked",
    "tboo": "webfilter:blocked",
    "tbos": "webfilter:blocked",
    "tbot": "webfilter:blocked",
    "tbsb": "webfilter:blocked",
    "tbso": "webfilter:blocked",
    "tbss": "webfilter:blocked",
    "tbst": "webfilter:blocked",
    "tbtb": "webfilter:blocked",
    "tbto": "webfilter:blocked",
    "tbts": "webfilter:blocked",
    "tbtt": "webfilter:blocked",
    "tobb": "confused:NOASK",
    "tobo": "ipv6_only",
    "tobs": "confused:NOASK",
    "tobt": "confused:NOASK",
    "toob": "confused:NOASK",
    "tooo": "ipv6_only,webfilter:both",
    "toos": "webfilter:dsboth",
    "toot": "confused:NOASK",
    "tosb": "confused:NOASK",
    "toso": "webfilter:dsboth",
    "toss": "ipv6_only,webfilter:both",
    "tost": "confused:NOASK",
    "totb": "confused:NOASK",
    "toto": "confused:NOASK",
    "tots": "confused:NOASK",
    "tott": "confused:NOASK",
    "tsbb": "confused:NOASK",
    "tsbo": "confused:NOASK",
    "tsbs": "confused:NOASK",
    "tsbt": "confused:NOASK",
    "tsob": "confused:NOASK",
    "tsoo": "ipv6_only,webfilter:addons",
    "tsos": "webfilter:dsboth",
    "tsot": "confused:NOASK",
    "tssb": "confused:NOASK",
    "tsso": "webfilter:dsboth",
    "tsss": "ipv6_only,webfilter:addons",
    "tsst": "confused:NOASK",
    "tstb": "confused:NOASK",
    "tsto": "confused:NOASK",
    "tsts": "confused:NOASK",
    "tstt": "confused:NOASK",
    "ttbb": "webfilter:blocked",
    "ttbo": "webfilter:blocked",
    "ttbs": "webfilter:blocked",
    "ttbt": "webfilter:blocked",
    "ttob": "webfilter:blocked",
    "ttoo": "webfilter:blocked",
    "ttos": "webfilter:blocked",
    "ttot": "webfilter:blocked",
    "ttsb": "webfilter:blocked",
    "ttso": "webfilter:blocked",
    "ttss": "webfilter:blocked",
    "ttst": "webfilter:blocked",
    "tttb": "webfilter:blocked",
    "ttto": "webfilter:blocked",
    "ttts": "webfilter:blocked",
    "tttt": "webfilter:blocked"
};
